#include "ResultCollector.h"

#include <QtCore>
ResultCollector::ResultCollector(QObject *parent)
 : QObject(parent)
{
}


ResultCollector::~ResultCollector()
{
}

void ResultCollector::storeResult(QStringList result)
{
	//qDebug ("Add result");
	this->result += result;

}

void ResultCollector::print()
{
	
	for(int i =0; i < result.count();++i)
	{
		qDebug() << result.at(i);
	}	

  qDebug() << "Search result count " << result.count();
}